﻿using MediatR;
using THE_WIND_RISES.Common.Domans.Produce.WorkCenter_;
using THE_WIND_RISES.Common.Dtos;
namespace Production_Set.API.Application.Commands.WorkCenters
{
    /// <summary>
    /// 工作中心添加
    /// </summary>
    public class WorkCenterAddCommand : IRequest<Result>
    {
        /// <summary>
        /// 序号
        /// </summary>
        public int WorkCenterId { get; set; }
        /// <summary>
        /// 工作中心编号
        /// </summary>
        public string WorkCenterNum { get; set; }
        /// <summary>
        /// 工作中心名称
        /// </summary>
        public string WorkCenterName { get; set; }
        /// <summary>
        /// 工作中心类型
        /// </summary>
        public string WorkCenterType { get; set; }
        /// <summary>
        /// 班次
        /// </summary>
        public string ClassesData { get; set; }
        /// <summary>
        /// 创建时间
        /// </summary>
        public DateTime CreateTime { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string CreateName { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public bool WorkCenterState { get; set; }
        /// <summary>
        /// 审批状态
        /// </summary>
        public int ApprovalState { get; set; }
        /// <summary>
        /// 是否删除
        /// </summary>
        public bool IsDelWorkCenter { get; set; }
        /// <summary>
        /// 资源分配行数组
        /// </summary>
        public List<WorkCenterWealth> WorkCenterWealthData { get; set; }
    }
}
